package com.hvgroup.modules.dify.service;

import com.fasterxml.jackson.databind.JsonNode;
import org.springframework.web.multipart.MultipartFile;
import reactor.core.publisher.Mono;

import java.util.Map;

public interface DifyDatasetService {

    Mono<JsonNode> getDataset(String url, Map<String, Object> params);


    Mono<JsonNode> postDataset(Map<String, Object> params);

    Mono<JsonNode> postFileset(JsonNode metaJson, MultipartFile filePart);
}
